package com.example.safeassistan.home.model;

import java.io.Serializable;
import java.util.List;

public class BackLogFragmentModel implements Serializable{


    /**
     * success : true
     * message : 操作成功！
     * code : 0
     * result : {"records":[{"riskPointImg":"","dangerVOList":[{"dangerSrcName":"锅炉2","dangerLevel":"2","id":"1380422839558832129"}],"riskPointId":"1392758258514386946","num":"0","riskPointName":"可视化2"}],"total":1,"size":10,"current":1,"orders":[],"optimizeCountSql":true,"hitCount":false,"countId":null,"maxLimit":null,"searchCount":true,"pages":1}
     * timestamp : 1624240959787
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO  implements Serializable{
        /**
         * records : [{"riskPointImg":"","dangerVOList":[{"dangerSrcName":"锅炉2","dangerLevel":"2","id":"1380422839558832129"}],"riskPointId":"1392758258514386946","num":"0","riskPointName":"可视化2"}]
         * total : 1
         * size : 10
         * current : 1
         * orders : []
         * optimizeCountSql : true
         * hitCount : false
         * countId : null
         * maxLimit : null
         * searchCount : true
         * pages : 1
         */

        private Integer total;
        private Integer size;
        private Integer current;
        private Boolean optimizeCountSql;
        private Boolean hitCount;
        private Object countId;
        private Object maxLimit;
        private Boolean searchCount;
        private Integer pages;
        private List<RecordsDTO> records;
        private List<?> orders;

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public Integer getCurrent() {
            return current;
        }

        public void setCurrent(Integer current) {
            this.current = current;
        }

        public Boolean isOptimizeCountSql() {
            return optimizeCountSql;
        }

        public void setOptimizeCountSql(Boolean optimizeCountSql) {
            this.optimizeCountSql = optimizeCountSql;
        }

        public Boolean isHitCount() {
            return hitCount;
        }

        public void setHitCount(Boolean hitCount) {
            this.hitCount = hitCount;
        }

        public Object getCountId() {
            return countId;
        }

        public void setCountId(Object countId) {
            this.countId = countId;
        }

        public Object getMaxLimit() {
            return maxLimit;
        }

        public void setMaxLimit(Object maxLimit) {
            this.maxLimit = maxLimit;
        }

        public Boolean isSearchCount() {
            return searchCount;
        }

        public void setSearchCount(Boolean searchCount) {
            this.searchCount = searchCount;
        }

        public Integer getPages() {
            return pages;
        }

        public void setPages(Integer pages) {
            this.pages = pages;
        }

        public List<RecordsDTO> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsDTO> records) {
            this.records = records;
        }

        public List<?> getOrders() {
            return orders;
        }

        public void setOrders(List<?> orders) {
            this.orders = orders;
        }

        public static class RecordsDTO implements Serializable{
            /**
             * riskPointImg :
             * dangerVOList : [{"dangerSrcName":"锅炉2","dangerLevel":"2","id":"1380422839558832129"}]
             * riskPointId : 1392758258514386946
             * num : 0
             * riskPointName : 可视化2
             */

            private String riskPointImg;
            private String riskPointId;
            private String num;
            private String riskPointName;
            private List<DangerVOListDTO> dangerVOList;

            public String getRiskPointImg() {
                return riskPointImg;
            }

            public void setRiskPointImg(String riskPointImg) {
                this.riskPointImg = riskPointImg;
            }

            public String getRiskPointId() {
                return riskPointId;
            }

            public void setRiskPointId(String riskPointId) {
                this.riskPointId = riskPointId;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getRiskPointName() {
                return riskPointName;
            }

            public void setRiskPointName(String riskPointName) {
                this.riskPointName = riskPointName;
            }

            public List<DangerVOListDTO> getDangerVOList() {
                return dangerVOList;
            }

            public void setDangerVOList(List<DangerVOListDTO> dangerVOList) {
                this.dangerVOList = dangerVOList;
            }

            public static class DangerVOListDTO implements  Serializable{
                /**
                 * dangerSrcName : 锅炉2
                 * dangerLevel : 2
                 * id : 1380422839558832129
                 */

                private String dangerSrcName;
                private String dangerLevel;
                private String id;
                private Boolean isSelect;

                public Boolean getSelect() {
                    return isSelect;
                }

                public void setSelect(Boolean select) {
                    isSelect = select;
                }

                public String getDangerSrcName() {
                    return dangerSrcName;
                }

                public void setDangerSrcName(String dangerSrcName) {
                    this.dangerSrcName = dangerSrcName;
                }

                public String getDangerLevel() {
                    return dangerLevel;
                }

                public void setDangerLevel(String dangerLevel) {
                    this.dangerLevel = dangerLevel;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }
            }
        }
    }
}
